<?php

namespace Bundle\TreeBundle\DependencyInjection;

use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Components\DependencyInjection\ContainerBuilder;

/**
 * @todo добавить описание
 */
class TreeExtension extends Extension
{
    protected $resources = array(
        'tree' => 'tree.xml',
    );

    public function loggerLoad($config, BuilderConfiguration $configuration)
    {
        return $configuration;
    }

    /**
     * @todo
     * @return <type>
     */
    public function getXsdValidationBasePath()
    {
        return __DIR__.'/../Resources/config/';
    }

    /**
     * @todo
     * @return <type>
     */
    public function getNamespace()
    {
        return 'http://www.symfony-project.org/schema/dic/zend';
    }

    public function getAlias()
    {
        return 'tree';
    }
}
